{% if persona.meta %}
<div class="persona_profile" id="metapersona_stuff">
    <div id="profile">
        {% if personas_tags_img %}
            <img src="{{ media_url }}/{{ persona.meta.photo }}" class="mp_photo" /><br/>
        {% endif %}
        <span class="mp_fullname">{{ persona.fullname }}</span><br/>
        <span class="mp_email">{{ persona.meta.email }}</span>
    </div>
    <br/>
    <div class="tasks">
        {% if persona.tasks_overdue %}
            <h4>overdue tasks</h4>
            {% for task in persona.tasks_overdue %}
                {% load tasks_tags %}
                {% task_sidebar_list %}
            {% endfor %}
        {% endif %}
        <h4>today tasks</h4>
            {% if persona.tasks_today %}
                {% for task in persona.tasks_today %}
                    {% load tasks_tags %}
                    {% task_sidebar_list %}
                {% endfor %}
            {% else %}
                <span style="color: #aaa">Nothing for today, how lucky!</span>
            {% endif %}
        <h4>upcoming</h4>
            {% for task in persona.tasks_future %}
                {% load tasks_tags %}
                {% task_sidebar_list %}
            {% endfor %}
    </div>
</div>
{% else %}
{% endif %}
